﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace PhysicsSimulator
{
    class CGameObject
    {
        private SpriteBatch _spriteBatch;
        public SpriteBatch SpriteBatch
        {
            get
            {
                return _spriteBatch;
            }
            set
            {
                _spriteBatch = value;
            }
        }

        private ContentManager _contentManager;
        public ContentManager ContentManager
        {
            get
            {
                return _contentManager;
            }
            set
            {
                _contentManager = value;
            }
        }


        public CGameObject(SpriteBatch spriteBatch)
        {
            _spriteBatch = spriteBatch;
        }

        public virtual void Init(ContentManager contentManager)
        {
            _contentManager = contentManager;
        }

        public virtual void Update(GameTimerEventArgs timer)
        {

        }

        public virtual void Draw(GameTimerEventArgs timer)
        {

        }
    }
}
